<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="__ACSS__/style.css" rel="stylesheet" type="text/css" />
<link href="__ACSS__/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="__AJS__/jquery.js"></script>
<script type="text/javascript" src="__AJS__/jquery.idTabs.min.js"></script>
<script type="text/javascript" src="__AJS__/select-ui.min.js"></script>
    <style>/*分页样式*/
    .pagination{text-align:center;margin-top:20px;margin-bottom: 20px;}
    .pagination li{margin:0px 10px; border:1px solid #e6e6e6;padding: 3px 8px;display: inline-block;}
    .pagination .active{background-color: #dd1a20;color: #fff;}
    .pagination .disabled{color:#aaa;}</style>
</head>
<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">系统设置</a></li>
    </ul>
    </div>
    <div class="formbody">
    <div id="usual1" class="usual">
  	<div id="tab2" class="tabson">
    <ul class="seachform">
        <li><label>&nbsp;</label><input name="" type="button" class="scbtn" value="添加规格值"/></li>
    </ul>

    <table class="tablelist">
        <thead>
        <tr>
            <th><input name="" type="checkbox" value="" checked="checked"/></th>
            <th>商品类型</th>
            <th>规格名</th>
            <th>规格值</th>
            <th>添加时间</th>
            <th>是否有效</th>
            <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {volist name="re_goods_specification_value" id="vo"}
        <tr>
            <td><input name="" type="checkbox" value="" /></td>
            <td>{$vo['category_name']}</td>
            <td>{$vo['s_name']}</td>
            <td>{$vo['value']}</td>
            <td>{$vo['create_time']|date="Y-m-d H:i:s",###}</td>
            <td>{if condition="$vo['status'] eq 1 "}是{else /}否{/if}</td>
            <td><a href="{:url('GoodsSpecificationValue/edit',['id'=>$vo['id']])}" class="tablelink">查看</a>
                <a href="{:url('GoodsSpecificationValue/delete',['id'=>$vo['id']])}" class="tablelink"> 删除</a></td>
        </tr>

        {/volist}

        </tbody>
    </table>

    </div>
	</div>
    </div>

    <script type="text/javascript">
        $('.tablelist tbody tr:odd').addClass('odd');
        //添加规格名
        $(".scbtn").click(function () {
            window.location.href = "{:url('GoodsSpecificationValue/add')}";
        });
    </script>
</body>
</html>
